<script setup lang="ts" name="404">

</script>

<template>
  <div class="view404-container">
    <div class="pic-404">
      <img class="pic-404-parent" src="@/assets/images/404_images/404.png" alt="404">
      <img class="pic-404-child left" src="@/assets/images/404_images/404_cloud.png" alt="404">
      <img class="pic-404-child mid" src="@/assets/images/404_images/404_cloud.png" alt="404">
      <img class="pic-404-child right" src="@/assets/images/404_images/404_cloud.png" alt="404">
    </div>
    <div class="bullshit">
      <div class="oops">
        404错误!
      </div>
      <div class="headline">
        找不到网页！
      </div>
      <div class="info">
        对不起，您正在寻找的页面不存在。尝试检查URL的错误，然后按浏览器上的刷新按钮或尝试在我们的应用程序中找到其他内容。
      </div>
      <router-link to="/index" class="return-home">
        返回首页
      </router-link>
    </div>
  </div>
</template>

<style scoped lang="scss">
.view404-container {
  display: flex;
  align-items: center;
  padding-top: 100px;

  .pic-404 {
    position: relative;
    flex: 1;

    .pic-404-parent {
      width: 100%;
    }

    .pic-404-child {
      position: absolute;
      width: 13%;
    }

    .left {
      top: 47%;
      left: 11%;
    }

    .mid {
      top: 58%;
      left: 29%;
    }

    .right {
      width: 9%;
      top: 69%;
      left: 54%;
    }
  }

  .bullshit {
    flex: 1;

    .oops {
      color: #1482f0;
      font-size: 32px;
      font-weight: bold;
      line-height: 40px;
      margin-bottom: 30px;
    }

    .headline {
      font-size: 20px;
      line-height: 24px;
      color: #222;
      font-weight: bold;
      margin-bottom: 12px;
    }
    .info {
      font-size: 13px;
      line-height: 21px;
      color: grey;
      max-width: 300px;
      margin-bottom: 20px;
    }
    .return-home {
      display: block;
      width: 110px;
      height: 36px;
      line-height: 36px;
      background: #1482f0;
      border-radius: 100px;
      text-align: center;
      color: #fff;
    }
  }
}
</style>